/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.bank;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.entity.bank.Bank;
import com.server.modules.sys.dao.bank.BankDao;

/**
 * 银行信息Service
 * @author 颜洪毅
 * @version 2016-10-18
 */
@Service
@Transactional(readOnly = true)
public class BankService extends CrudService<BankDao, Bank> {

	public Bank get(String id) {
		return super.get(id);
	}
	
	public List<Bank> findList(Bank bank) {
		return super.findList(bank);
	}
	
	public Page<Bank> findPage(Page<Bank> page, Bank bank) {
		return super.findPage(page, bank);
	}
	
	@Transactional(readOnly = false)
	public void save(Bank bank) {
		super.save(bank);
	}
	
	@Transactional(readOnly = false)
	public void delete(Bank bank) {
		super.delete(bank);
	}
	
}